package test

import (
	"io"
	"net/http"
)

func Index() {
	resp, e := http.Get("http://127.0.0.1:888/admin/login")
	if e != nil {
		print(e.Error())
	} else {
		content, e := io.ReadAll(resp.Body)
		if e != nil {
			print(e.Error())
		} else {
			println(string(content))
		}

	}
}
